package iotwisp.school.system.command;

import iotwisp.base.cqrs.SPIBaseCommand;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * UserFile UserFileQO FileVO FileSPI FileViewSPI FileService FileViewService FileController FileViewController
 * @author yuxx
 */
@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
public class CreateFileSCmd extends SPIBaseCommand {

        /**
        * 文件名
        */
        private String title;
        /**
        * 归属主体id
        */
        private String ownerId;
        /**
        * 归属主体类型
        */
        private String ownerType;
        /**
        * 可访问相对url
        */
        private String url;
        /**
        * 文件元数据
        */
        private String metadataJSON;
        /**
        * 类型后缀
        */
        private String suffix;
}
